<%@page import="com.bosch.in.rtp1.ept.constant.ReleasedHoldParameter"%>
<%@page import="java.util.Calendar"%>
<%@ page import="com.bosch.in.jfree.chart.JfreeChartIntf;"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<link href="css/imageZoom.css" type="text/css" rel="stylesheet"></link>
<script type="text/javascript" src="js/tipmessage.js"></script>
<script type="text/javascript" src="js/relHldDiagram.js"></script>

<div
	id="toolTipForChart"
	style="display:none;
	position:absolute;
	border-style: solid;
	border: '1px';
	background-color: white;
	z-index:1003;
	padding: 5px;">
</div>
<br/>
<table width="100%" border="0" class="box">
	<tbody>
		<tr>
			<td width="30%" align="center"> 
			<%
				String fileName = (String) request.getAttribute(ReleasedHoldParameter.HLD_ACTIVE_DIAGRAM.toString());
				String imgMapFile = fileName + JfreeChartIntf.IMAGEMAP_SUFFIX;
				out.write((String)request.getAttribute(imgMapFile));
			%>
				<img id="Avg" alt="Average" src="servlet/DisplayChart?filename=<%=fileName%>&timestamp=<%=Calendar.getInstance().getTimeInMillis()%>"
					usemap="#<%=fileName%>" border="0" align="middle">
			</td>
		</tr>
		<tr>			
			<td align="center">
				<a class="bosch_first_button_style" href="javascript:download('exportActHldDiagramExcel.do', []);">Export</a>
			</td>
		</tr>		
	</tbody>
</table>
<script>
		increaseBoxplotTooltipRange("Avg");
</script>